* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
}
.code-wrapper {
  height: 40vh;
  flex: 1;
  padding: 10px;
  border: 1px solid pink;
}
.preview-wrapper {
  flex: 1;
  border: 2px solid pink;
  background: #fba919;
  position: relative;
  width: 100%;
}
#code {
  height: 100%;
  overflow: hidden;
}
.garfield {
  position: absolute;
  margin: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fba919;
  transform: scale(1);
}
.face {
  width: 350px;
  height: 350px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 0;
  overflow: hidden;
  transition: transform 5s ease;
}
